]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
recorder: Print absolute path if output file can't be opened
authorTimm Bäder <mail@baedert.org>
Fri, 19 Aug 2016 17:10:28 +0000 (19:10 +0200)
committerTimm Bäder <mail@baedert.org>
Sat, 20 Aug 2016 14:03:31 +0000 (16:03 +0200)
src/shell-recorder.c

index 981b7d1f00ec7953e3cdec504ebde2e8492452f8..cb2e93f76b79f2447c9cc98b32fb8c902859b3bd 100644 (file)
@@ -1075,7 +1075,7 @@ recorder_open_outfile (ShellRecorder  *recorder,
 
       if (outfile == -1 && errno != EEXIST)
         {
-          g_warning ("Cannot open output file '%s': %s", filename->str, g_strerror (errno));
+          g_warning ("Cannot open output file '%s': %s", path, g_strerror (errno));
           g_string_free (filename, TRUE);
           g_free (path);
           goto out;